/*
 * TimeUtils.h
 *
 *  Created on: 15.11.2012
 *      Author: Lukas Gemela
 */

#ifndef TIMEUTILS_H_
#define TIMEUTILS_H_
#include "IFastDataApprox.h"
class TimeUtils {
public:
	static double convertSecToWin(int seconds) {return seconds * OneSecond;}
	static int convertWinToSec(double x) {return (int)(x/OneSecond + 0.5);}
};

#endif /* TIMEUTILS_H_ */
